package cn.edu.scau.cmi.ema.service;

import java.util.List;
import java.util.Set;
import java.io.IOException;
import com.alibaba.fastjson.JSONObject;
import java.util.Map;
import org.springframework.web.bind.annotation.RequestParam;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;


public interface FoodbatchfillerService {

	public Foodbatchfiller saveFoodbatchfiller(Foodbatchfiller foodbatchfiller);

	public Set<Foodbatchfiller> loadFoodbatchfillers();

	public Set<Foodbatchfiller> loadReferenceFoodbatchfillers(Set<Foodbatchfiller> foodbatchfillers);

	public Set<Foodbatchfiller> loadFoodbatchfillersByIdSet(Set<Integer> foodbatchfillersId);

	public Map<String, ?> loadFoodbatchfillerObjectReferencedSet(Foodbatchfiller foodbatchfiller);

	public Map<String, ?> loadFoodbatchfillerClassReferencedSet(Foodbatchfiller foodbatchfiller);

	public void deleteFoodbatchfiller(Foodbatchfiller foodbatchfiller);

	public void deleteFoodbatchfillers(Set<Integer> deleteFoodbatchfillersId);

	public List<Foodbatchfiller> findAllFoodbatchfillers(Integer startResult, Integer maxRows);

	public Foodbatchfiller findFoodbatchfillerByPrimaryKey(Integer id);

	public Integer countFoodbatchfillers();

	public Integer countFoodbatchfillers(CmiPagination page);

	public Integer countFoodbatchfillersByName(String queryName);

	public Integer countFoodbatchfillersByDetachedCriteria(CmiPagination page);

}
